Hinted Collection

نویسندگان

  • Philip Reames
  • Martin Maas
  • Joel Galenson
  • Krste Asanovic
چکیده

Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission. Acknowledgement I would like to thank Martin Maas, Joel Galenson, and Krste Asanovic for early constructive criticism of the ideas that appeared in this thesis. Many members of the Parallel Computing Laboratory (ParLab) have been subjected to half-baked versions of these ideas; thank you for your patience and questions. I would like to thank my advisor George Necula for his support. Abstract Hinted Collection Garbage collection is widely used and has largely been a boon for programmer productivity. However, traditional garbage collection is approaching both practical and theoretical performance limits. In practice, the maximum heap size and heap structure of large applications are influenced as much by garbage collector behavior as by resource availability. We present an alternate approach to garbage collection wherein the programmer provides untrusted deallocation hints. Usage of deallocation hints is similar to trusted manual deallocation, but the consequence of an inaccurate hint is lost performance not correctness. Our hinted collection algorithm uses these hints to identify a subset of unreachable objects with both better parallel asymptotic complexity and practical performance. We present two prototype implementations of a stop-the-world hinted collector: one entirely serial and one parallel. We evaluate our implementations by comparing against the Boehm-Demers-Weiser [12] conservative garbage collector for C/C++. We leverage existing free calls in mature C programs to stand in for deallocation hints. On some benchmarks, our serial collector implementation achieves 10-20% pause time reductions over a well-tuned baseline. On four cores, our parallel implementation achieves similar benefits. We include a discussion of the design trade-offs inherent in our approach, and lessons to be learned from our collectors. We close with a discussion of several design variants which we have not been able to explore in depth, but believe would be worthwhile to explore in future work.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Mesopotamia Neo - Assyrian Period

No collection of laws from the iNeo-Assyrian period is known to us. If a text of this kind had ever existed, it seems highly likely that it would have been part of Assurbanipal's famous library in Nineveh. But neither in Nineveh nor in twenty-three excavated sites located in different parts of the empire have archaeologists have succeeded in unearthing so much as a fragment of such a text. In a...

متن کامل

Performance comparison of hinted- and advertisement-based movement detection methods for mobile IP hand-offs

In this study Hinted Cell Switching is introduced as a new alternative to the Mobile IP advertisement based movement detection methods. It is a method that relies on “hints” generated during subnetwork layer hand-offs for reacting faster to Mobile IP hand-offs. In this study the performance of Hinted Cell Switching is compared through the use of simulations against those of advertisement based ...

متن کامل

Active Learning Using Hint Information

The abundance of real-world data and limited labeling budget calls for active learning, an important learning paradigm for reducing human labeling efforts. Many recently developed active learning algorithms consider both uncertainty and representativeness when making querying decisions. However, exploiting representativeness with uncertainty concurrently usually requires tackling sophisticated ...

متن کامل

Active Learning with Hinted Support Vector Machine

The abundance of real-world data and limited labeling budget calls for active learning, which is an important learning paradigm for reducing human labeling efforts. Many recently developed active learning algorithms consider both uncertainty and representativeness when making querying decisions. However, exploiting representativeness with uncertainty concurrently usually requires tackling sophi...

متن کامل

A Hybrid Approach to Rendering Handwritten Characters

With the growing popularity of pen-based computers comes the need to display clear handwritten characters at small sizes on low-resolution displays. This paper describes a method for automatically constructing hinted TrueType fonts from on-line handwriting data. Hints add extra information to glyph outlines in the form of imperative constraints overriding side effects of the rasterization proce...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013